Move require's for faraday to the right place.

Akinori MUSHA %!s(int64=10) %!d(string=hace) años
padre
commit
0f1b30bd9c
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 3 0
      app/concerns/web_request_concern.rb
  2. 0 2
      app/models/agents/website_agent.rb

+ 3 - 0
app/concerns/web_request_concern.rb

@@ -1,3 +1,6 @@
1
+require 'faraday'
2
+require 'faraday_middleware'
3
+
1 4
 module WebRequestConcern
2 5
   extend ActiveSupport::Concern
3 6
 

+ 0 - 2
app/models/agents/website_agent.rb

@@ -1,6 +1,4 @@
1 1
 require 'nokogiri'
2
-require 'faraday'
3
-require 'faraday_middleware'
4 2
 require 'date'
5 3
 
6 4
 module Agents